package com.mmw.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mmw.crm.entity.AdminField;
import com.mmw.crm.mapper.AdminFieldMapper;
import com.mmw.crm.service.AdminFieldService;
import org.springframework.stereotype.Service;

@Service
public class AdminFieldServiceImpl extends ServiceImpl<AdminFieldMapper, AdminField> implements AdminFieldService {
    @Override
    public String queryField(Integer label) {
        if (label==7){
            return "{\n" +
                    "    \"code\": 0,\n" +
                    "    \"data\": [\n" +
                    "        {\n" +
                    "            \"fieldId\": 54,\n" +
                    "            \"formType\": \"number\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"回款编号\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 5,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"number\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 55,\n" +
                    "            \"formType\": \"customer\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"客户名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 15,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"customer_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 56,\n" +
                    "            \"formType\": \"contract\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"合同编号\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 20,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"contract_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 57,\n" +
                    "            \"formType\": \"date\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"回款日期\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 4,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"return_time\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 58,\n" +
                    "            \"formType\": \"floatnumber\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"回款金额\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 6,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"money\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 59,\n" +
                    "            \"formType\": \"receivables_plan\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"期数\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 21,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"plan_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 60,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"备注\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"remark\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 61,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"回款方式\",\n" +
                    "            \"options\": \"支票,现金,邮政汇款,电汇,网上转账,支付宝,微信支付,其他\",\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 3,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 0,\n" +
                    "            \"fieldName\": \"回款方式\",\n" +
                    "            \"setting\": [\n" +
                    "                \"支票\",\n" +
                    "                \"现金\",\n" +
                    "                \"邮政汇款\",\n" +
                    "                \"电汇\",\n" +
                    "                \"网上转账\",\n" +
                    "                \"支付宝\",\n" +
                    "                \"微信支付\",\n" +
                    "                \"其他\"\n" +
                    "            ]\n" +
                    "        }\n" +
                    "    ]\n" +
                    "}";
        }
        if (label == 6){
            return "{\n" +
                    "    \"code\": 0,\n" +
                    "    \"data\": [\n" +
                    "        {\n" +
                    "            \"fieldId\": 43,\n" +
                    "            \"formType\": \"number\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"合同编号\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 1,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 5,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"num\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 44,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"合同名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"name\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 45,\n" +
                    "            \"formType\": \"customer\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"客户名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 15,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"customer_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 46,\n" +
                    "            \"formType\": \"business\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"商机名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 16,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"business_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 47,\n" +
                    "            \"formType\": \"date\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"下单时间\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 4,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"order_date\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 48,\n" +
                    "            \"formType\": \"floatnumber\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"合同金额\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 6,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"money\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 49,\n" +
                    "            \"formType\": \"date\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"合同开始时间\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 4,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"start_time\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 50,\n" +
                    "            \"formType\": \"date\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"合同结束时间\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 4,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"end_time\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 51,\n" +
                    "            \"formType\": \"contacts\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"客户签约人\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 17,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"contacts_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 52,\n" +
                    "            \"formType\": \"user\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"defaultValue\": [],\n" +
                    "            \"type\": 10,\n" +
                    "            \"fieldName\": \"company_user_id\",\n" +
                    "            \"setting\": [],\n" +
                    "            \"name\": \"公司签约人\",\n" +
                    "            \"options\": null,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 53,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"备注\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"remark\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"formType\": \"product\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"产品\",\n" +
                    "            \"value\": {\n" +
                    "                \"product\": [],\n" +
                    "                \"totalPrice\": \"\",\n" +
                    "                \"discountRate\": \"\"\n" +
                    "            },\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"product\",\n" +
                    "            \"setting\": []\n" +
                    "        }\n" +
                    "    ]\n" +
                    "}";
        }
        if (label == 5){
            return "{\n" +
                    "    \"code\": 0,\n" +
                    "    \"data\": [\n" +
                    "        {\n" +
                    "            \"fieldId\": 38,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"商机名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"business_name\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 39,\n" +
                    "            \"formType\": \"customer\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"客户名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 15,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"customer_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 40,\n" +
                    "            \"formType\": \"floatnumber\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"商机金额\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 6,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"money\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 41,\n" +
                    "            \"formType\": \"datetime\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"预计成交日期\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 13,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"deal_date\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 42,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"备注\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"remark\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"商机状态组\",\n" +
                    "            \"formType\": \"business_type\",\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"type_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"商机阶段\",\n" +
                    "            \"formType\": \"business_status\",\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"status_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"formType\": \"product\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"产品\",\n" +
                    "            \"value\": {\n" +
                    "                \"product\": [],\n" +
                    "                \"totalPrice\": \"\",\n" +
                    "                \"discountRate\": \"\"\n" +
                    "            },\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"product\",\n" +
                    "            \"setting\": []\n" +
                    "        }\n" +
                    "    ]\n" +
                    "}";
        }
        if (label == 4){
            return "{\n" +
                    "    \"code\": 0,\n" +
                    "    \"data\": [\n" +
                    "        {\n" +
                    "            \"fieldId\": 31,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"产品名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"name\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 32,\n" +
                    "            \"formType\": \"category\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"产品类型\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 19,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"category_id\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 33,\n" +
                    "            \"formType\": \"number\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"产品编码\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 1,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 5,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"num\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 34,\n" +
                    "            \"formType\": \"floatnumber\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"价格\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 6,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"price\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 35,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"产品描述\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"description\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 36,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"是否上下架\",\n" +
                    "            \"options\": \"上架,下架\",\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 3,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 0,\n" +
                    "            \"fieldName\": \"是否上下架\",\n" +
                    "            \"setting\": [\n" +
                    "                \"上架\",\n" +
                    "                \"下架\"\n" +
                    "            ]\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 37,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"单位\",\n" +
                    "            \"options\": \"个,块,只,把,枚,瓶,盒,台,吨,千克,米,箱,套\",\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 3,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 0,\n" +
                    "            \"fieldName\": \"单位\",\n" +
                    "            \"setting\": [\n" +
                    "                \"个\",\n" +
                    "                \"块\",\n" +
                    "                \"只\",\n" +
                    "                \"把\",\n" +
                    "                \"枚\",\n" +
                    "                \"瓶\",\n" +
                    "                \"盒\",\n" +
                    "                \"台\",\n" +
                    "                \"吨\",\n" +
                    "                \"千克\",\n" +
                    "                \"米\",\n" +
                    "                \"箱\",\n" +
                    "                \"套\"\n" +
                    "            ]\n" +
                    "        }\n" +
                    "    ]\n" +
                    "}";
        }
        if (label == 3){
            return "{\n" +
                    "    \"code\": 0,\n" +
                    "    \"data\": [\n" +
                    "        {\n" +
                    "            \"fieldId\": 20,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"fieldName\": \"name\",\n" +
                    "            \"name\": \"姓名\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 1,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 21,\n" +
                    "            \"formType\": \"customer\",\n" +
                    "            \"fieldName\": \"customerName\",\n" +
                    "            \"name\": \"客户名称\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 15,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 22,\n" +
                    "            \"formType\": \"mobile\",\n" +
                    "            \"fieldName\": \"mobile\",\n" +
                    "            \"name\": \"手机\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 7,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 23,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"fieldName\": \"telephone\",\n" +
                    "            \"name\": \"电话\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 1,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 24,\n" +
                    "            \"formType\": \"email\",\n" +
                    "            \"fieldName\": \"email\",\n" +
                    "            \"name\": \"电子邮箱\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 14,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 25,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"fieldName\": \"post\",\n" +
                    "            \"name\": \"职务\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 1,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 26,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"fieldName\": \"address\",\n" +
                    "            \"name\": \"地址\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 1,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 27,\n" +
                    "            \"formType\": \"datetime\",\n" +
                    "            \"fieldName\": \"nextTime\",\n" +
                    "            \"name\": \"下次联系时间\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 13,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 28,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"fieldName\": \"remark\",\n" +
                    "            \"name\": \"备注\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 1,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 29,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"fieldName\": \"是否关键决策人\",\n" +
                    "            \"name\": \"是否关键决策人\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 3\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 30,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"fieldName\": \"性别\",\n" +
                    "            \"name\": \"性别\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 3\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": null,\n" +
                    "            \"formType\": \"date\",\n" +
                    "            \"fieldName\": \"updateTime\",\n" +
                    "            \"name\": \"更新时间\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 4,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": null,\n" +
                    "            \"formType\": \"date\",\n" +
                    "            \"fieldName\": \"createTime\",\n" +
                    "            \"name\": \"创建时间\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 4,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": null,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"fieldName\": \"ownerUserName\",\n" +
                    "            \"name\": \"负责人\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 1,\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": null,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"fieldName\": \"createUserName\",\n" +
                    "            \"name\": \"创建人\",\n" +
                    "            \"width\": 100,\n" +
                    "            \"type\": 1,\n" +
                    "            \"setting\": []\n" +
                    "        }\n" +
                    "    ]\n" +
                    "}";
        }
        if (label == 1){
            return "{\n" +
                    "    \"code\": 0,\n" +
                    "    \"data\": [\n" +
                    "        {\n" +
                    "            \"fieldId\": 1,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 1,\n" +
                    "            \"name\": \"线索名称\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 1,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"leads_name\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 2,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"线索来源\",\n" +
                    "            \"options\": \"促销,搜索引擎,广告,转介绍,线上注册,线上询价,预约上门,电话咨询,邮件咨询\",\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 3,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 0,\n" +
                    "            \"fieldName\": \"线索来源\",\n" +
                    "            \"setting\": [\n" +
                    "                \"促销\",\n" +
                    "                \"搜索引擎\",\n" +
                    "                \"广告\",\n" +
                    "                \"转介绍\",\n" +
                    "                \"线上注册\",\n" +
                    "                \"线上询价\",\n" +
                    "                \"预约上门\",\n" +
                    "                \"电话咨询\",\n" +
                    "                \"邮件咨询\"\n" +
                    "            ]\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 3,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"电话\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"telephone\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 4,\n" +
                    "            \"formType\": \"mobile\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"手机\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 7,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"mobile\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 5,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"客户行业\",\n" +
                    "            \"options\": \"IT,金融业,房地产,商业服务,运输/物流,生产,政府,文化传媒\",\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 3,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 0,\n" +
                    "            \"fieldName\": \"客户行业\",\n" +
                    "            \"setting\": [\n" +
                    "                \"IT\",\n" +
                    "                \"金融业\",\n" +
                    "                \"房地产\",\n" +
                    "                \"商业服务\",\n" +
                    "                \"运输/物流\",\n" +
                    "                \"生产\",\n" +
                    "                \"政府\",\n" +
                    "                \"文化传媒\"\n" +
                    "            ]\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 6,\n" +
                    "            \"formType\": \"select\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"客户级别\",\n" +
                    "            \"options\": \"A（重点客户）,B（普通客户）,C（非优先客户）\",\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 3,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 0,\n" +
                    "            \"fieldName\": \"客户级别\",\n" +
                    "            \"setting\": [\n" +
                    "                \"A（重点客户）\",\n" +
                    "                \"B（普通客户）\",\n" +
                    "                \"C（非优先客户）\"\n" +
                    "            ]\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 7,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"地址\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"address\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 8,\n" +
                    "            \"formType\": \"datetime\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"下次联系时间\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 13,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"next_time\",\n" +
                    "            \"setting\": []\n" +
                    "        },\n" +
                    "        {\n" +
                    "            \"fieldId\": 9,\n" +
                    "            \"formType\": \"text\",\n" +
                    "            \"isNull\": 0,\n" +
                    "            \"name\": \"备注\",\n" +
                    "            \"options\": null,\n" +
                    "            \"isUnique\": 0,\n" +
                    "            \"inputTips\": null,\n" +
                    "            \"type\": 1,\n" +
                    "            \"value\": \"\",\n" +
                    "            \"fieldType\": 1,\n" +
                    "            \"fieldName\": \"remark\",\n" +
                    "            \"setting\": []\n" +
                    "        }\n" +
                    "    ]\n" +
                    "}";
        }
        return "{\n" +
                "    \"code\": 0,\n" +
                "    \"data\": [\n" +
                "        {\n" +
                "            \"fieldId\": 10,\n" +
                "            \"formType\": \"text\",\n" +
                "            \"isNull\": 1,\n" +
                "            \"name\": \"客户名称\",\n" +
                "            \"options\": null,\n" +
                "            \"isUnique\": 1,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 1,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 1,\n" +
                "            \"fieldName\": \"customer_name\",\n" +
                "            \"setting\": []\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 11,\n" +
                "            \"formType\": \"mobile\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"手机\",\n" +
                "            \"options\": null,\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 7,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 1,\n" +
                "            \"fieldName\": \"mobile\",\n" +
                "            \"setting\": []\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 98,\n" +
                "            \"formType\": \"text\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"\",\n" +
                "            \"options\": null,\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 1,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 0,\n" +
                "            \"fieldName\": null,\n" +
                "            \"setting\": []\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 12,\n" +
                "            \"formType\": \"text\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"电话\",\n" +
                "            \"options\": null,\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 1,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 1,\n" +
                "            \"fieldName\": \"telephone\",\n" +
                "            \"setting\": []\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 18,\n" +
                "            \"formType\": \"select\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"客户来源\",\n" +
                "            \"options\": \"促销,搜索引擎,广告,转介绍,线上注册,线上询价,预约上门,陌拜,电话咨询,邮件咨询\",\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 3,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 0,\n" +
                "            \"fieldName\": \"客户来源\",\n" +
                "            \"setting\": [\n" +
                "                \"促销\",\n" +
                "                \"搜索引擎\",\n" +
                "                \"广告\",\n" +
                "                \"转介绍\",\n" +
                "                \"线上注册\",\n" +
                "                \"线上询价\",\n" +
                "                \"预约上门\",\n" +
                "                \"陌拜\",\n" +
                "                \"电话咨询\",\n" +
                "                \"邮件咨询\"\n" +
                "            ]\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 19,\n" +
                "            \"formType\": \"select\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"客户行业\",\n" +
                "            \"options\": \"IT,金融业,房地产,商业服务,运输/物流,生产,政府,文化传媒\",\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 3,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 0,\n" +
                "            \"fieldName\": \"客户行业\",\n" +
                "            \"setting\": [\n" +
                "                \"IT\",\n" +
                "                \"金融业\",\n" +
                "                \"房地产\",\n" +
                "                \"商业服务\",\n" +
                "                \"运输/物流\",\n" +
                "                \"生产\",\n" +
                "                \"政府\",\n" +
                "                \"文化传媒\"\n" +
                "            ]\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 17,\n" +
                "            \"formType\": \"select\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"客户级别\",\n" +
                "            \"options\": \"A（重点客户）,B（普通客户）,C（非优先客户）\",\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 3,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 0,\n" +
                "            \"fieldName\": \"客户级别\",\n" +
                "            \"setting\": [\n" +
                "                \"A（重点客户）\",\n" +
                "                \"B（普通客户）\",\n" +
                "                \"C（非优先客户）\"\n" +
                "            ]\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 13,\n" +
                "            \"formType\": \"text\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"网址\",\n" +
                "            \"options\": null,\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 1,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 1,\n" +
                "            \"fieldName\": \"website\",\n" +
                "            \"setting\": []\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 15,\n" +
                "            \"formType\": \"datetime\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"下次联系时间\",\n" +
                "            \"options\": null,\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 13,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 1,\n" +
                "            \"fieldName\": \"next_time\",\n" +
                "            \"setting\": []\n" +
                "        },\n" +
                "        {\n" +
                "            \"fieldId\": 16,\n" +
                "            \"formType\": \"text\",\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"备注\",\n" +
                "            \"options\": null,\n" +
                "            \"isUnique\": 0,\n" +
                "            \"inputTips\": null,\n" +
                "            \"type\": 1,\n" +
                "            \"value\": \"\",\n" +
                "            \"fieldType\": 1,\n" +
                "            \"fieldName\": \"remark\",\n" +
                "            \"setting\": []\n" +
                "        },\n" +
                "        {\n" +
                "            \"isNull\": 0,\n" +
                "            \"name\": \"地区定位\",\n" +
                "            \"formType\": \"map_address\",\n" +
                "            \"fieldType\": 1,\n" +
                "            \"fieldName\": \"map_address\"\n" +
                "        }\n" +
                "    ]\n" +
                "}";
    }
}
